package calorie.com.calorie.response;

import java.util.List;

/**
 * Created by chenxi on 2019/4/10.
 */

public class GoodsListResponce {


    /**
     * code : 200
     * msg : success
     * data : {"goodsList":[{"brand":"卡路里官方","createTime":1555916958000,"id":"13","isFree":0,"modifyTime":1555916960000,"price":960,"remarks":"这是备注","status":1,"title":"Smeal，6瓶一盒240元","unit":"瓶","imgUrl":"4080c6c2d4219d7d5fe2404d6415b85.jpg","detailUrl":["20190416153313.jpg","20190416153339.jpg","20190416153343.jpg","20190416153347.jpg","20190416153350.jpg","20190416153353.jpg"],"goodsAttribute":[{"attribute":"super food","stock":"20"}]},{"brand":"拜丽德","createTime":1554691464000,"id":"1","isFree":0,"modifyTime":1554691466000,"price":100,"remarks":"这是备注","status":1,"title":"好看的手表","unit":"件","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg","detailUrl":["5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"],"goodsAttribute":[{"attribute":"天空蓝","stock":"9"},{"attribute":"雪山白","stock":"0"},{"attribute":"中国红","stock":"8"},{"attribute":"水墨黑","stock":"41"}]},{"brand":"瑞士金刀","createTime":1554691464000,"id":"3","isFree":0,"modifyTime":1554691466000,"price":400,"remarks":"这是备注","status":1,"title":"好用的菜刀","unit":"把","imgUrl":"O1CN01SyBzwm1weYlmbI85O_!!706766333.jpg","detailUrl":["O1CN01SyBzwm1weYlmbI85O_!!706766333.jpg"],"goodsAttribute":[{"attribute":"30*30cm","stock":"19"},{"attribute":"60*30cm","stock":"29"},{"attribute":"60*60cm","stock":"20"}]},{"brand":"山西瑞达","createTime":1554691464000,"id":"4","isFree":0,"modifyTime":1554691466000,"price":100,"remarks":"这是备注","status":1,"title":"暖和的被子","unit":"床","imgUrl":"TB2b0r9jYGYBuNjy0FoXXciBFXa_!!2451901164.jpg","detailUrl":["TB2b0r9jYGYBuNjy0FoXXciBFXa_!!2451901164.jpg"],"goodsAttribute":[{"attribute":"黑色","stock":"19"}]},{"brand":"褚克宁","createTime":1554691464000,"id":"5","isFree":0,"modifyTime":1554691466000,"price":200,"remarks":"这是备注","status":1,"title":"好用感冒药","unit":"盒","imgUrl":"TB2grmobpOP.eBjSZFHXXXQnpXa_!!2928278102.jpg_430x430q90.jpg","detailUrl":["TB2grmobpOP.eBjSZFHXXXQnpXa_!!2928278102.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"6袋装","stock":"20"}]},{"brand":"乐高","createTime":1554691464000,"id":"6","isFree":0,"modifyTime":1554691466000,"price":500,"remarks":"这是备注","status":1,"title":"好玩的玩具","unit":"件","imgUrl":"TB2LcMim0cnBKNjSZR0XXcFqFXa_!!1042326298.jpg","detailUrl":["TB2LcMim0cnBKNjSZR0XXcFqFXa_!!1042326298.jpg"],"goodsAttribute":[{"attribute":"标准套餐","stock":"20"}]},{"brand":"华为","createTime":1554691464000,"id":"7","isFree":0,"modifyTime":1554691466000,"price":300,"remarks":"这是备注","status":1,"title":"很贵的手机","unit":"件","imgUrl":"TB2xgWLm8jTBKNjSZFNXXasFXXa_!!1707225666.jpg_430x430q90.jpg","detailUrl":["TB2xgWLm8jTBKNjSZFNXXasFXXa_!!1707225666.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"蓝色","stock":"20"}]},{"brand":"泰国领突","createTime":1554691464000,"id":"8","isFree":0,"modifyTime":1554691466000,"price":800,"remarks":"这是备注","status":1,"title":"好重的榴莲","unit":"个","imgUrl":"O1CN01R9a9dW1DMYVf4qJSI_!!2191410202.jpg","detailUrl":["O1CN01R9a9dW1DMYVf4qJSI_!!2191410202.jpg"],"goodsAttribute":[{"attribute":"泰国产","stock":"20"}]},{"brand":"新疆蔡帽","createTime":1554691464000,"id":"9","isFree":1,"modifyTime":1554691466000,"price":200,"remarks":"这是备注","status":1,"title":"好吃的红枣","unit":"袋","imgUrl":"O1CN011oJvzEF6RIOZRid_!!0-item_pic.jpg_430x430q90.jpg","detailUrl":["O1CN011oJvzEF6RIOZRid_!!0-item_pic.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"3盒装","stock":"20"}]},{"brand":"德芙","createTime":1554691464000,"id":"10","isFree":1,"modifyTime":1554691466000,"price":1,"remarks":"这是备注","status":1,"title":"好吃的巧克力","unit":"盒","imgUrl":"O1CN01bbbJRo1mS3oWDxwLu_!!0-item_pic.jpg_430x430q90.jpg","detailUrl":["O1CN01bbbJRo1mS3oWDxwLu_!!0-item_pic.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"30*30cm","stock":"19"}]}],"count":13}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * goodsList : [{"brand":"卡路里官方","createTime":1555916958000,"id":"13","isFree":0,"modifyTime":1555916960000,"price":960,"remarks":"这是备注","status":1,"title":"Smeal，6瓶一盒240元","unit":"瓶","imgUrl":"4080c6c2d4219d7d5fe2404d6415b85.jpg","detailUrl":["20190416153313.jpg","20190416153339.jpg","20190416153343.jpg","20190416153347.jpg","20190416153350.jpg","20190416153353.jpg"],"goodsAttribute":[{"attribute":"super food","stock":"20"}]},{"brand":"拜丽德","createTime":1554691464000,"id":"1","isFree":0,"modifyTime":1554691466000,"price":100,"remarks":"这是备注","status":1,"title":"好看的手表","unit":"件","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg","detailUrl":["5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"],"goodsAttribute":[{"attribute":"天空蓝","stock":"9"},{"attribute":"雪山白","stock":"0"},{"attribute":"中国红","stock":"8"},{"attribute":"水墨黑","stock":"41"}]},{"brand":"瑞士金刀","createTime":1554691464000,"id":"3","isFree":0,"modifyTime":1554691466000,"price":400,"remarks":"这是备注","status":1,"title":"好用的菜刀","unit":"把","imgUrl":"O1CN01SyBzwm1weYlmbI85O_!!706766333.jpg","detailUrl":["O1CN01SyBzwm1weYlmbI85O_!!706766333.jpg"],"goodsAttribute":[{"attribute":"30*30cm","stock":"19"},{"attribute":"60*30cm","stock":"29"},{"attribute":"60*60cm","stock":"20"}]},{"brand":"山西瑞达","createTime":1554691464000,"id":"4","isFree":0,"modifyTime":1554691466000,"price":100,"remarks":"这是备注","status":1,"title":"暖和的被子","unit":"床","imgUrl":"TB2b0r9jYGYBuNjy0FoXXciBFXa_!!2451901164.jpg","detailUrl":["TB2b0r9jYGYBuNjy0FoXXciBFXa_!!2451901164.jpg"],"goodsAttribute":[{"attribute":"黑色","stock":"19"}]},{"brand":"褚克宁","createTime":1554691464000,"id":"5","isFree":0,"modifyTime":1554691466000,"price":200,"remarks":"这是备注","status":1,"title":"好用感冒药","unit":"盒","imgUrl":"TB2grmobpOP.eBjSZFHXXXQnpXa_!!2928278102.jpg_430x430q90.jpg","detailUrl":["TB2grmobpOP.eBjSZFHXXXQnpXa_!!2928278102.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"6袋装","stock":"20"}]},{"brand":"乐高","createTime":1554691464000,"id":"6","isFree":0,"modifyTime":1554691466000,"price":500,"remarks":"这是备注","status":1,"title":"好玩的玩具","unit":"件","imgUrl":"TB2LcMim0cnBKNjSZR0XXcFqFXa_!!1042326298.jpg","detailUrl":["TB2LcMim0cnBKNjSZR0XXcFqFXa_!!1042326298.jpg"],"goodsAttribute":[{"attribute":"标准套餐","stock":"20"}]},{"brand":"华为","createTime":1554691464000,"id":"7","isFree":0,"modifyTime":1554691466000,"price":300,"remarks":"这是备注","status":1,"title":"很贵的手机","unit":"件","imgUrl":"TB2xgWLm8jTBKNjSZFNXXasFXXa_!!1707225666.jpg_430x430q90.jpg","detailUrl":["TB2xgWLm8jTBKNjSZFNXXasFXXa_!!1707225666.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"蓝色","stock":"20"}]},{"brand":"泰国领突","createTime":1554691464000,"id":"8","isFree":0,"modifyTime":1554691466000,"price":800,"remarks":"这是备注","status":1,"title":"好重的榴莲","unit":"个","imgUrl":"O1CN01R9a9dW1DMYVf4qJSI_!!2191410202.jpg","detailUrl":["O1CN01R9a9dW1DMYVf4qJSI_!!2191410202.jpg"],"goodsAttribute":[{"attribute":"泰国产","stock":"20"}]},{"brand":"新疆蔡帽","createTime":1554691464000,"id":"9","isFree":1,"modifyTime":1554691466000,"price":200,"remarks":"这是备注","status":1,"title":"好吃的红枣","unit":"袋","imgUrl":"O1CN011oJvzEF6RIOZRid_!!0-item_pic.jpg_430x430q90.jpg","detailUrl":["O1CN011oJvzEF6RIOZRid_!!0-item_pic.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"3盒装","stock":"20"}]},{"brand":"德芙","createTime":1554691464000,"id":"10","isFree":1,"modifyTime":1554691466000,"price":1,"remarks":"这是备注","status":1,"title":"好吃的巧克力","unit":"盒","imgUrl":"O1CN01bbbJRo1mS3oWDxwLu_!!0-item_pic.jpg_430x430q90.jpg","detailUrl":["O1CN01bbbJRo1mS3oWDxwLu_!!0-item_pic.jpg_430x430q90.jpg"],"goodsAttribute":[{"attribute":"30*30cm","stock":"19"}]}]
         * count : 13
         */

        private int count;
        private List<GoodsListBean> goodsList;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public static class GoodsListBean {
            /**
             * brand : 卡路里官方
             * createTime : 1555916958000
             * id : 13
             * isFree : 0
             * modifyTime : 1555916960000
             * price : 960
             * remarks : 这是备注
             * status : 1
             * title : Smeal，6瓶一盒240元
             * unit : 瓶
             * imgUrl : 4080c6c2d4219d7d5fe2404d6415b85.jpg
             * detailUrl : ["20190416153313.jpg","20190416153339.jpg","20190416153343.jpg","20190416153347.jpg","20190416153350.jpg","20190416153353.jpg"]
             * goodsAttribute : [{"attribute":"super food","stock":"20"}]
             */

            private String brand;
            private long createTime;
            private String id;
            private int isFree;
            private long modifyTime;
            private int price;
            private String remarks;
            private int status;
            private String title;
            private String unit;
            private String imgUrl;
            private List<String> detailUrl;
            private List<GoodsAttributeBean> goodsAttribute;

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getIsFree() {
                return isFree;
            }

            public void setIsFree(int isFree) {
                this.isFree = isFree;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }

            public List<String> getDetailUrl() {
                return detailUrl;
            }

            public void setDetailUrl(List<String> detailUrl) {
                this.detailUrl = detailUrl;
            }

            public List<GoodsAttributeBean> getGoodsAttribute() {
                return goodsAttribute;
            }

            public void setGoodsAttribute(List<GoodsAttributeBean> goodsAttribute) {
                this.goodsAttribute = goodsAttribute;
            }

            public static class GoodsAttributeBean {
                /**
                 * attribute : super food
                 * stock : 20
                 */

                private String attribute;
                private String stock;

                public String getAttribute() {
                    return attribute;
                }

                public void setAttribute(String attribute) {
                    this.attribute = attribute;
                }

                public String getStock() {
                    return stock;
                }

                public void setStock(String stock) {
                    this.stock = stock;
                }
            }
        }
    }
}
